package com.base.data.elasticsearch.core.completion;


import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class BaseCompletion {

    private String[] input;
    private Integer weight;

    private BaseCompletion() {
        //required by mapper to instantiate object
    }

    public BaseCompletion(String[] input) {
        this.input = input;
    }

    public String[] getInput() {
        return input;
    }

    public void setInput(String[] input) {
        this.input = input;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}

